package bookpos.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.lang.String;
import java.lang.Double;
import java.lang.Integer;
import java.math.BigDecimal;

import javax.xml.soap.Text;

import java.sql.Blob;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.SequenceGenerator;


/**   
 * @Title: Entity
 * @Description: 书本类型
 * @author onlineGenerator
 * @date 2015-04-15 23:05:13
 * @version V1.0   
 *
 */
@Entity
@Table(name = "bookpos_book_type", schema = "")
@SuppressWarnings("serial")
public class BookposBookTypeEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.Integer id;
	/**类型名称*/
	private java.lang.String typeName;
	/**类型描述*/
	private java.lang.String description;
	/**审核状态*/
	private java.lang.Integer status;
	/**类型序列*/
	private java.lang.Integer sequence;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name ="ID",nullable=false,length=20)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  类型名称
	 */
	@Column(name ="TYPE_NAME",nullable=true,length=20)
	public java.lang.String getTypeName(){
		return this.typeName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  类型名称
	 */
	public void setTypeName(java.lang.String typeName){
		this.typeName = typeName;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  类型描述
	 */
	@Column(name ="DESCRIPTION",nullable=true,length=255)
	public java.lang.String getDescription(){
		return this.description;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  类型描述
	 */
	public void setDescription(java.lang.String description){
		this.description = description;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  审核状态
	 */
	@Column(name ="STATUS",nullable=true,length=2)
	public java.lang.Integer getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  审核状态
	 */
	public void setStatus(java.lang.Integer status){
		this.status = status;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  类型序列
	 */
	@Column(name ="SEQUENCE",nullable=true,length=20)
	public java.lang.Integer getSequence(){
		return this.sequence;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  类型序列
	 */
	public void setSequence(java.lang.Integer sequence){
		this.sequence = sequence;
	}
}
